//
//  JYJDataTools.h
//  HappyListen
//
//  Created by 冀永金 on 16/9/6.
//  Copyright © 2016年 冀永金. All rights reserved.
//

#import <Foundation/Foundation.h>

@class JYJProgramModel;
typedef void(^PassValue)(NSArray *array);

@interface JYJDataTools : NSObject
@property (nonatomic, strong) NSMutableArray *dataArray;// 接受数据的数组
// 单例
+ (instancetype)shareDataTools;
- (void)postDataWithURL:(NSString *)URL andBody:(id)body passValue:(PassValue)passvalue;



- (JYJProgramModel *)getModelWithIndex:(NSInteger)index;
@property (nonatomic, strong) JYJProgramModel *programModel;

@end
